package com.xiangty.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @Date 2021/5/23
 * @Created by xiangty
 */
public interface LoadBalancer {

    /**
     * @param serviceInstances 服务器集群信息
     * @return
     */
    ServiceInstance instances(List<ServiceInstance> serviceInstances);

}
